use clap::Parser;
use serde::{Deserialize, Serialize};

#[derive(Parser, Debug, Clone, Serialize, Deserialize)]
#[command(version, about, long_about = None)]
pub struct Args {
    /// 生成的目录名称，英文
    pub name: String,
    /// 是否生成minimal的，默认为false。例: wng --min project-name
    #[arg(long, short, default_value = "false")]
    pub min: bool,
    /// 是否进行git初始化，默认为false。例: wng --git project-name
    #[arg(long, short, default_value = "false")]
    pub git: bool,
}
